import {createRouter ,createWebHistory } from "vue-router";
import Home from "../views/NarBar.vue"




const  router =createRouter({
        history:createWebHistory(import.meta.env.BASE_URL),
        routes:[
            {
                path:"/",
                name:"home",
                component:()=>import("../views/Home.vue")
            },
            {
                path:"/cpu",
                name:"cpu",
                component:()=>import("../views/cpu/CpuLoad.vue")
            }
        ]
    }
)
export default  router